<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="id" name="id" th:value="${exceptionAddtime.id}" type="hidden">

                        <!--<div class="form-group">-->
                            <!--<label class="col-sm-3 control-label">考试批次id：</label>-->
                            <!--<div class="col-sm-8">-->
                                <!--&lt;!&ndash;<input id="ebatchId" name="ebatchId" th:value="${exceptionAddtime.ebatchId}"-->
                                       <!--class="form-control" type="text">&ndash;&gt;-->
								<!--<select name="ebatchId" class="form-control">-->
									<!--<option value="">请选择考试批次</option>-->
									<!--<option th:selected="${exceptionAddtime.ebatchId eq item.id}" th:value="${item.id}" th:each="item : ${ebatch}" th:text="${item.name}"></option>-->
								<!--</select>-->
                            <!--</div>-->
                        <!--</div>-->
                        <!--<div class="form-group">-->
                            <!--<label class="col-sm-3 control-label">考生：</label>-->
                            <!--<div class="col-sm-8">-->
                                <!--&lt;!&ndash;<input id="stuId" name="stuId" th:value="${exceptionAddtime.stuId}" class="form-control"-->
                                       <!--type="text">&ndash;&gt;-->
                                <!--<input id="selectPage" th:value="${exceptionAddtime.stuName + '(' + exceptionAddtime.stuNo + ')'}" placeholder="请选择考生" name="stuId"  class="form-control" type="text">-->
                            <!--</div>-->
                        <!--</div>-->
                        <div class="form-group">
                            <label class="col-sm-3 control-label">延时时长（单位：分钟）：</label>
                            <div class="col-sm-8">
                                <input id="addTime" name="addTime" th:value="${exceptionAddtime.addTime}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">延时原因：</label>
                            <div class="col-sm-8">
                                <input id="remark" name="remark" th:value="${exceptionAddtime.remark}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script src="//s.xlongwei.com/res/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/js/webJs/jzweb/exceptionAddtime/edit.js">
</script>

<script>

    $().ready(function() {
        select();
    });

    //分页下拉框
    function select() {
        $('#selectPage').selectPage({
            showField : 'ticketNumber',
            keyField : 'id',
            data :'/jzweb/exceptionAddtime/findStu',
            searchField:'name',
            //格式化显示项目，提供源数据进行使用
            formatItem : function(data){
                return data.name + '(' + data.ticketNumber + ')';
            },
            eAjaxSuccess : function(d){
                var result;
                if(d) result = d.data;
                else result = undefined;
                return result;
            }
        });
    }

</script>

</body>
</html>
